/**
 * 
 */
package edu.pw.treegrid.server.model;

import edu.pw.treegrid.server.reportmodel.ReportColumn;

/** 
 * @author Piotrek
 */
public class DomainField {

	private DomainObject domainobject;

	public void setDomainobject(DomainObject domainobject) {
		this.domainobject = domainobject;
	}

	private ReportColumn reportColumn;

	public ReportColumn getReportColumn() {
		return reportColumn;
	}

	public void setReportColumn(ReportColumn reportColumn) {
		this.reportColumn = reportColumn;
	}

	private Object value;

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return "DomainField [reportColumn=" + reportColumn.getName() + ", value=" + value
				+ "]";
	}
}